<!DOCTYPE html>
<html dir="rtl">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="Stylesheet" href="../css/analysis.css" />
    <script type="text/javascript">
        function init() {
            if (window.location.hash) {
                var parentDiv, nodes, i, helpInfo, helpId, helpInfoArr, helpEnvFilter, envContent, hideEnvClass, hideNodes;
                helpInfo = window.location.hash.substring(1);
                    if(helpInfo.indexOf("-")) {
                        helpInfoArr = helpInfo.split("-");
                        helpId = helpInfoArr[0];
                        helpEnvFilter = helpInfoArr[1];
                    }
                    else {
                        helpId = helpInfo;
                    }
                parentDiv = document.getElementById("topics");
                nodes = parentDiv.children;
                    hideEnvClass = (helpEnvFilter === "OnlineOnly"? "PortalOnly": "OnlineOnly");
                    if(document.getElementsByClassName) {
                        hideNodes = document.getElementsByClassName(hideEnvClass);
                    }
                    else {
                        hideNodes = document.querySelectorAll(hideEnvClass);
                    }
                for(i=0; i < nodes.length; i++) {
                    if(nodes[i].id !== helpId) {
                        nodes[i].style.display ="none";
                    }
                    }
                    for(i=0; i < hideNodes.length; i++) {
                        hideNodes[i].style.display ="none";
                    }
                }
            }
    </script>
</head>
<body onload="init()">
<div id="topics">
    <div id="toolDescription" class="regularsize">
        <h2>Summarize Raster Within</h2><p/>
        <h2><img src="../images/GUID-D61C156C-2B2C-488C-BF28-B6CB9277BF4B-web.png" alt="Summarize Raster Within tool"></h2>
        <hr/>
    <p>This tool summarizes a raster based on areas (zones) defined by the first input layer.
    </p>
    <p>Some example applications include the following:
    </p>
    <p>
        <ul>
            <li>Given a layer of watershed boundaries and a layer of land-use boundaries by land-use type, calculate total acreage of land-use type for each watershed.
                

            </li>
            <li>Given a layer of parcels in a county and a layer of city boundaries, summarize the average value of vacant parcels within each city boundary.
                

            </li>
        </ul>
        
    </p>
    <p>If  <b>Use current map extent</b> is checked, only those features in the input layer and the layer to be summarized that are visible within the current map extent will be analyzed. If unchecked, all features in both the input layer and the layer to be summarized will be analyzed, even if they are outside the current map extent.
    </p>
    </div>
    <!--Parameter divs for each param-->
    <div id="sumWithinLayer">
        <div><h2>Choose area layer to summarize a raster layer within defined boundaries</h2></div>
        <hr/>
        <div>
            <p>The layer that defines the boundaries of the areas, or zones, that will be summarized.
            </p>
            <p>The layer can be a raster or feature data. For rasters, the zones are defined by all locations in the input that have the same cell value. The areas do not have to be contiguous.
            </p>
        </div>
    </div>
    <div id="zoneField">
        <div><h2>Choose field to define the boundaries</h2></div>
        <hr/>
        <div>
            <p>This is the attribute of the layer that will be used to define the boundaries of the areas.
            </p>
            <p>For example, suppose the first input layer defines the management unit boundaries, with attributes that define the region, the district, and the parcel ID of each unit. You also have a raster layer defining a biodiversity index for each location. With the field you select, you can decide to calculate the average biodiversity at local, district, or regional levels.
            </p>
        </div>
    </div>
    <div id="sumRasterLayer">
        <div><h2>Choose raster layer to summarize</h2></div>
        <hr/>
        <div>
            <p>The raster cells in this layer will be summarized by the areas (zones) that they fall within.
            </p>
        </div>
    </div>
    <div id="sumStatistic">
        <div><h2>Choose statistic to calculate</h2></div>
        <hr/>
        <div>
            <p>Once you choose a layer to summarize, you can optionally calculate statistics of any numerical attribute of the points, lines, or areas within the input area layer.
            </p>
            <p>The available statistics types when the selected field is integer are Average, Maximum, Median, Minimum, Minority, Range, Standard deviation, Sum, and Variety.
            </p>
            <p>If the field is floating point, the options are Average, Maximum, Minimum, Range, Standard deviation, and Sum.
            </p>
        </div>
    </div>
    <div id="missingValues">
        <div><h2>Ignore missing values in calculation</h2></div>
        <hr/>
        <div>
            <p>If you choose to ignore missing values, only the cells that have a value in the layer to be summarized will be used in determining the output value for that area. Otherwise, if there are missing values anywhere in an area, it is deemed that there is insufficient information to perform statistical calculations for all the cells in that zone, and that area will receive a null (NoData) value in the output.
            </p>
        </div>
    </div>
    <div id="resultLayer">
        <div><h2>Result layer name</h2></div>
        <hr/>
        <div>
            <p>The name of the layer that will be created in  <b>My Content</b> and added to the map. The default name is based on the tool name and the input layer name. If the layer already exists, you will be asked to provide another name.
            </p>
            <p>Using the  <b>Save result in</b> drop-down box, you can specify the name of a folder in <b>My Content</b> where the result will be saved.
            </p>
        </div>
    </div>
</div>
</html>
